﻿@model DataAccess.Datatypes.Config

@{
    ViewBag.Title = "Configuration";
}

<div style="width: 100%; float:left; position:relative; top: 60px; margin-left: 60px; margin-bottom: 60px;"> 
    <h2 class="blue-font-title" style="margin-left: 0;">Edit Configuration</h2>

    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(true)

        <fieldset>
            <legend hidden="hidden">ConfigurationSet</legend>

            <div class="editor-label">
                @Html.LabelFor(model => model.InapropiateMax, "Inapropiate Content Post Max")
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.InapropiateMax)
                @Html.ValidationMessageFor(model => model.InapropiateMax)
            </div>

            <div class="editor-label">
                @Html.LabelFor(model => model.InfractionMax, "User Infraction Max")
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.InfractionMax)
                @Html.ValidationMessageFor(model => model.InfractionMax)
            </div>

            <div class="editor-label">
                @Html.LabelFor(model => model.RankedGoodsMax, "Ranked Goods List Size")
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.RankedGoodsMax)
                @Html.ValidationMessageFor(model => model.RankedGoodsMax)
            </div>

            <p>
                <input class="btn btn-primary" type="submit" value="Save" />
            </p>
        </fieldset>
    }
</div>


